package com.gang.feign;

import com.gang.pojo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "BLOCK")
public interface blockFeign {

    @RequestMapping("/block/nft/{tokenURI}/{pri}")
    public CommonResult setnft(@PathVariable("tokenURI")String tokenURI,@PathVariable("pri")String pri,String addr);
}
